//
//@File    :	6.9_condit.cpp
//@Time    :	2021/08/07 20:26:31
//@Auther  :	Sun Sheng
//@Contact :	970340843@qq.com
//@Desc    :	using the conditional operator
//

#include <iostream>

int main()
{
    using namespace std;
    int a,b;
    cout<<"Enter two intergers: ";
    cin>>a>>b;
    cout<<"The larger of "<<a<<" and "<<b;
    int c=a>b?a:b;
    cout<<" is "<<c<<endl;
    system("pause");
    return 0;
}